package com.simlink.sns.model;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;

/**
 * @author zhuzhe
 * @date 2018/6/4 15:25
 * @email 1529949535@qq.com
 */
@Data
public class User implements Serializable {

    private static final long serialVersionUID = -8894803927963266646L;

    private int id;
	private String user_name;
	private String user_email;
	private String user_pwd;
	private String user_nicename;
	private Date user_registered_date;
	private int user_status;
	private String user_avatar;
	private String user_activationKey;
	private String user_desc;
	private Map<String, Long> counter;
    private Set<Role> roles = new HashSet<>();
}
